#include "ui_init.h"
#include "ui_menu.h"
#include "ui_index.h"
#include "ui_handle.h"

int def = 0, mode = 2, light = 1;

void menu_init(void) {
	MENU_PARAS_NODE *ret[MAX_MENU];

	// 一级菜单
	ret[_0] =  Add_Down_Page(NULL, &def, NULL, "智慧集中器", "网关数据", NULL); 
	ret[_1] =  Add_Down_Page(NULL, &def, NULL, "智慧集中器", "设备数据", NULL); 		
	ret[_2] =  Add_Down_Page(NULL, &def, NULL, "智慧集中器", "设备控制", NULL); 	
	ret[_3] =  Add_Down_Page(NULL, &def, NULL, "智慧集中器", "运维管理", NULL); 	
	ret[_4] =  Add_Down_Page(NULL, &def, NULL, "智慧集中器", "本地管理", NULL); 	

	// 二级菜单
	ret[_5] =  Add_Down_Page(NULL, &def, ret[_0], "网关数据", "数据查询", NULL); 		
	ret[_6] =  Add_Down_Page(NULL, &def, ret[_0], "网关数据", "属性管理", NULL); 		
	ret[_7] =  Add_Page_Exec(NULL, &def, ret[_1], "设备数据", "请输入设备mac", Dev_Mac_Set); 		
	ret[_8] =  Add_Down_Page(NULL, &def, ret[_2], "设备控制", "单灯控制器", NULL); 	
	ret[_9] =  Add_Down_Page(NULL, &def, ret[_2], "设备控制", "双灯控制器", NULL); 	
	ret[_20] = Add_Down_Page(NULL, &def, ret[_2], "设备控制", "智慧电源", NULL); 	
	ret[_21] = Add_Down_Page(NULL, &def, ret[_2], "设备控制", "四回路控制器", _4_Show); 	
	ret[_22] = Add_Down_Page(NULL, &def, ret[_2], "设备控制", "八回路控制器", NULL); 	
	ret[_23] = Add_Down_Page(NULL, &def, ret[_2], "设备控制", "十二回路控制器", NULL); 				
	ret[_24] = Add_Down_Page(NULL, &def, ret[_3], "运维管理", "位置设置", NULL); 	
	ret[_25] = Add_Down_Page(NULL, &def, ret[_3], "运维管理", "时间设置", NULL); 	
	ret[_26] = Add_Down_Page(NULL, &def, ret[_3], "运维管理", "网络设置", NULL); 	
	ret[_86] = Add_Down_Page(NULL, &def, ret[_3], "运维管理", "网关重启", NULL); 	
	ret[_27] = Add_Down_Page(NULL, &def, ret[_3], "运维管理", "入网数量", NULL); 	
	ret[_28] = Add_Down_Page(NULL, &def, ret[_3], "运维管理", "白名单", NULL); 	
	ret[_29] = Add_Down_Page(NULL, &def, ret[_3], "运维管理", "入网消息", NULL); 	
	ret[_30] = Add_Down_Page(NULL, &def, ret[_4], "本地管理", "本地升级", NULL); 	
	ret[_31] = Add_Down_Page(NULL, &def, ret[_4], "本地管理", "日程管理", NULL); 		
	ret[_10] = Add_Down_Page(NULL, &def, ret[_4], "本地管理", "模式切换", NULL); 		
	
	// 三级菜单
	ret[_11] = Add_Down_Page(NULL, &def, ret[_5], NULL, NULL, Gw_Info_Show); 		
	ret[_32] = Add_Down_Page(NULL, &def, ret[_6], "属性管理", "网关信息", NULL); 		
	ret[_33] = Add_Down_Page(NULL, &def, ret[_6], "属性管理", "连接信息", NULL); 
	ret[_15] = Add_Down_Page(NULL, &def, ret[_7], NULL, "设备数据", NULL); 
	ret[_34] = Add_Down_Page(NULL, &mode,ret[_10],"模式切换", "正常模式", NULL); 		
	ret[_35] = Add_Down_Page(NULL, &def, ret[_10],"模式切换", "调试模式", NULL); 		
	ret[_36] = Add_Down_Page(NULL, &def, ret[_10],"模式切换", "本地模式", NULL); 		
	ret[_19] = Add_Down_Page(NULL, &def, ret[_8], "单灯控制器", "总控", NULL); 		
	ret[_7] =  Add_Down_Page(NULL, &def, ret[_8], "单灯控制器", "单控", NULL); 		
	ret[_37] = Add_Down_Page(NULL, &def, ret[_9], "双灯控制器", "总控", NULL); 		
	ret[_38] = Add_Down_Page(NULL, &def, ret[_9], "双灯控制器", "单控", NULL); 	 
	ret[_60] = Add_Down_Page(NULL, &def, ret[_20], "智慧电源", "总控", NULL); 		
	ret[_61] = Add_Down_Page(NULL, &def, ret[_20], "智慧电源", "单控", NULL); 	 
	ret[_62] = Add_Down_Page(NULL, &def, ret[_21], "四回路控制器", "总控", NULL); 		
	ret[_63] = Add_Down_Page(NULL, &def, ret[_21], "四回路控制器", "单控", NULL); 	 
	ret[_64] = Add_Down_Page(NULL, &def, ret[_22], "八回路控制器", "总控", NULL); 		
	ret[_65] = Add_Down_Page(NULL, &def, ret[_22], "八回路控制器", "单控", NULL); 	 
	ret[_66] = Add_Down_Page(NULL, &def, ret[_23], "十二回路控制器", "总控", NULL); 		
	ret[_67] = Add_Down_Page(NULL, &def, ret[_23], "十二回路控制器", "单控", NULL); 	 
	
	// 四级菜单 
	
	// 单灯
	ret[_39] = Add_Down_Page(NULL, &def, ret[_19], "总控", "开启", NULL); 		
	ret[_40] = Add_Down_Page(NULL, &def, ret[_19], "总控", "关闭", NULL); 		
	ret[_20] = Add_Down_Page(NULL, &def, ret[_19], "总控", "调光", NULL); 	
	ret[_41] = Add_Down_Page(NULL, &def, ret[_7], "单控", "开启", NULL); 		
	ret[_42] = Add_Down_Page(NULL, &def, ret[_7], "单控", "关闭", NULL); 		
	ret[_43] = Add_Down_Page(NULL, &def, ret[_7], "单控", "调光", NULL);	
	// 双灯
	ret[_55] = Add_Down_Page(NULL, &def, ret[_37], "总控", "所有路", NULL); 		
	ret[_56] = Add_Down_Page(NULL, &def, ret[_37], "总控", "第一路", NULL); 		
	ret[_57] = Add_Down_Page(NULL, &def, ret[_37], "总控", "第二路", NULL); 	
	ret[_58] = Add_Down_Page(NULL, &def, ret[_38], "单控", "所有路", NULL); 		
	ret[_59] = Add_Down_Page(NULL, &def, ret[_38], "单控", "第一路", NULL); 		
	ret[_60] = Add_Down_Page(NULL, &def, ret[_38], "单控", "第二路", NULL);
	// 四回路
	ret[_87] = Add_Down_Page(NULL, &def, ret[_62], "总控", "所有路", NULL); 		
	ret[_88] = Add_Down_Page(NULL, &def, ret[_62], "总控", "第一路", NULL); 		
	ret[_89] = Add_Down_Page(NULL, &def, ret[_62], "总控", "第二路", NULL); 	
	ret[_90] = Add_Down_Page(NULL, &def, ret[_62], "总控", "第三路", NULL); 	
	ret[_91] = Add_Down_Page(NULL, &def, ret[_62], "总控", "第四路", NULL); 	
	ret[_92] = Add_Down_Page(NULL, &def, ret[_63], "单控", "所有路", NULL); 		
	ret[_93] = Add_Down_Page(NULL, &def, ret[_63], "单控", "第一路", NULL); 		
	ret[_94] = Add_Down_Page(NULL, &def, ret[_63], "单控", "第二路", NULL); 	
	ret[_95] = Add_Down_Page(NULL, &def, ret[_63], "单控", "第三路", NULL); 	
	ret[_96] = Add_Down_Page(NULL, &def, ret[_63], "单控", "第四路", NULL);
	// 八回路
	ret[_97] = Add_Down_Page(NULL, &def, ret[_64], "总控", "所有路", NULL); 		
	ret[_98] = Add_Down_Page(NULL, &def, ret[_64], "总控", "第一路", NULL); 		
	ret[_99] = Add_Down_Page(NULL, &def, ret[_64], "总控", "第二路", NULL); 	
	ret[_100] = Add_Down_Page(NULL, &def, ret[_64], "总控", "第三路", NULL); 	
	ret[_101] = Add_Down_Page(NULL, &def, ret[_64], "总控", "第四路", NULL); 	
	ret[_102] = Add_Down_Page(NULL, &def, ret[_64], "总控", "第五路", NULL); 		
	ret[_103] = Add_Down_Page(NULL, &def, ret[_64], "总控", "第六路", NULL); 	
	ret[_104] = Add_Down_Page(NULL, &def, ret[_64], "总控", "第七路", NULL); 	
	ret[_105] = Add_Down_Page(NULL, &def, ret[_64], "总控", "第八路", NULL); 	
	ret[_106] = Add_Down_Page(NULL, &def, ret[_65], "单控", "所有路", NULL); 		
	ret[_107] = Add_Down_Page(NULL, &def, ret[_65], "单控", "第一路", NULL); 		
	ret[_108] = Add_Down_Page(NULL, &def, ret[_65], "单控", "第二路", NULL); 	
	ret[_109] = Add_Down_Page(NULL, &def, ret[_65], "单控", "第三路", NULL); 	
	ret[_110] = Add_Down_Page(NULL, &def, ret[_65], "单控", "第四路", NULL); 	
	ret[_111] = Add_Down_Page(NULL, &def, ret[_65], "单控", "第五路", NULL); 		
	ret[_112] = Add_Down_Page(NULL, &def, ret[_65], "单控", "第六路", NULL); 	
	ret[_113] = Add_Down_Page(NULL, &def, ret[_65], "单控", "第七路", NULL); 	
	ret[_114] = Add_Down_Page(NULL, &def, ret[_65], "单控", "第八路", NULL); 	
	// 十二回路
	ret[_115] = Add_Down_Page(NULL, &def, ret[_66], "总控", "所有路", NULL); 		
	ret[_116] = Add_Down_Page(NULL, &def, ret[_66], "总控", "第一路", NULL); 		
	ret[_117] = Add_Down_Page(NULL, &def, ret[_66], "总控", "第二路", NULL); 	
	ret[_118] = Add_Down_Page(NULL, &def, ret[_66], "总控", "第三路", NULL); 	
	ret[_119] = Add_Down_Page(NULL, &def, ret[_66], "总控", "第四路", NULL); 	
	ret[_120] = Add_Down_Page(NULL, &def, ret[_66], "总控", "第五路", NULL); 		
	ret[_121] = Add_Down_Page(NULL, &def, ret[_66], "总控", "第六路", NULL); 	
	ret[_122] = Add_Down_Page(NULL, &def, ret[_66], "总控", "第七路", NULL); 	
	ret[_123] = Add_Down_Page(NULL, &def, ret[_66], "总控", "第八路", NULL); 	
	ret[_124] = Add_Down_Page(NULL, &def, ret[_66], "总控", "第九路", NULL); 	
	ret[_125] = Add_Down_Page(NULL, &def, ret[_66], "总控", "第十路", NULL); 	
	ret[_126] = Add_Down_Page(NULL, &def, ret[_66], "总控", "第十一路", NULL); 	
	ret[_127] = Add_Down_Page(NULL, &def, ret[_66], "总控", "第十二路", NULL); 	
	ret[_128] = Add_Down_Page(NULL, &def, ret[_67], "单控", "所有路", NULL); 		
	ret[_129] = Add_Down_Page(NULL, &def, ret[_67], "单控", "第一路", NULL); 		
	ret[_130] = Add_Down_Page(NULL, &def, ret[_67], "单控", "第二路", NULL); 	
	ret[_131] = Add_Down_Page(NULL, &def, ret[_67], "单控", "第三路", NULL); 	
	ret[_132] = Add_Down_Page(NULL, &def, ret[_67], "单控", "第四路", NULL); 	
	ret[_133] = Add_Down_Page(NULL, &def, ret[_67], "单控", "第五路", NULL); 		
	ret[_134] = Add_Down_Page(NULL, &def, ret[_67], "单控", "第六路", NULL); 	
	ret[_135] = Add_Down_Page(NULL, &def, ret[_67], "单控", "第七路", NULL); 	
	ret[_136] = Add_Down_Page(NULL, &def, ret[_67], "单控", "第八路", NULL); 	
	ret[_137] = Add_Down_Page(NULL, &def, ret[_67], "单控", "第九路", NULL); 	
	ret[_138] = Add_Down_Page(NULL, &def, ret[_67], "单控", "第十路", NULL); 	
	ret[_139] = Add_Down_Page(NULL, &def, ret[_67], "单控", "第十一路", NULL); 	
	ret[_140] = Add_Down_Page(NULL, &def, ret[_67], "单控", "第十二路", NULL); 	
	
	// 五级菜单	
	// 单灯
	ret[_52] = Add_Down_Page(NULL, &light,ret[_20],"调光", "100", NULL); 		
	ret[_53] = Add_Down_Page(NULL, &def, ret[_20], "调光", "99", NULL); 		
	ret[_54] = Add_Down_Page(NULL, &def, ret[_20], "调光", "98", NULL); 
	// 双灯
	ret[_68] = Add_Down_Page(NULL, &def, ret[_55], "所有路", "开启", NULL); 		
	ret[_69] = Add_Down_Page(NULL, &def, ret[_55], "所有路", "关闭", NULL); 		
	ret[_70] = Add_Page_Exec(NULL, &def, ret[_55], "所有路", "调光", _2_Adjust_Light);	 
			   Add_Down_Page(NULL, &def, ret[_70], "所有路", "调光", _2_Adjust_ALL_Light_Enter);	 
	ret[_71] = Add_Down_Page(NULL, &def, ret[_56], "第一路", "开启", NULL); 		
	ret[_72] = Add_Down_Page(NULL, &def, ret[_56], "第一路", "关闭", NULL); 		
	ret[_73] = Add_Page_Exec(NULL, &def, ret[_56], "第一路", "调光", _2_Adjust_Light); 	
			   Add_Down_Page(NULL, &def, ret[_73], "第一路", "调光", _2_1_Adjust_ALL_Light_Enter); 	
	ret[_74] = Add_Down_Page(NULL, &def, ret[_57], "第二路", "开启", NULL); 		
	ret[_75] = Add_Down_Page(NULL, &def, ret[_57], "第二路", "关闭", NULL); 		
	ret[_76] = Add_Page_Exec(NULL, &def, ret[_57], "第一路", "调光", _2_Adjust_Light); 	
			   Add_Down_Page(NULL, &def, ret[_76], "第一路", "调光", _2_2_Adjust_ALL_Light_Enter); 	
	ret[_77] = Add_Down_Page(NULL, &def, ret[_58], "所有路", "开启", NULL); 		
	ret[_78] = Add_Down_Page(NULL, &def, ret[_58], "所有路", "关闭", NULL); 		
	ret[_79] = Add_Down_Page(NULL, &def, ret[_58], "所有路", "调光", NULL); 	
	ret[_80] = Add_Down_Page(NULL, &def, ret[_59], "第一路", "开启", NULL); 		
	ret[_81] = Add_Down_Page(NULL, &def, ret[_59], "第一路", "关闭", NULL); 		
	ret[_82] = Add_Down_Page(NULL, &def, ret[_59], "第一路", "调光", NULL); 	
	ret[_83] = Add_Down_Page(NULL, &def, ret[_60], "第二路", "开启", NULL); 		
	ret[_84] = Add_Down_Page(NULL, &def, ret[_60], "第二路", "关闭", NULL); 		
	ret[_85] = Add_Down_Page(NULL, &def, ret[_60], "第二路", "调光", NULL); 	
	// 四回路
	ret[_68] = Add_Page_Exec(NULL, &def, ret[_87], "所有路", "开启", NULL); 		
	ret[_69] = Add_Page_Exec(NULL, &def, ret[_87], "所有路", "关闭", NULL); 		
	ret[_71] = Add_Page_Exec(NULL, &def, ret[_88], "第一路", "开启", NULL); 		
	ret[_72] = Add_Page_Exec(NULL, &def, ret[_88], "第一路", "关闭", NULL); 		
	ret[_74] = Add_Page_Exec(NULL, &def, ret[_89], "第二路", "开启", NULL); 		
	ret[_75] = Add_Page_Exec(NULL, &def, ret[_89], "第二路", "关闭", NULL); 		
	ret[_74] = Add_Page_Exec(NULL, &def, ret[_90], "第三路", "开启", NULL); 		
	ret[_75] = Add_Page_Exec(NULL, &def, ret[_90], "第三路", "关闭", NULL); 		
	ret[_74] = Add_Page_Exec(NULL, &def, ret[_91], "第四路", "开启", NULL); 		
	ret[_75] = Add_Page_Exec(NULL, &def, ret[_91], "第四路", "关闭", NULL); 		
	ret[_77] = Add_Page_Exec(NULL, &def, ret[_92], "所有路", "开启", NULL); 		
	ret[_78] = Add_Page_Exec(NULL, &def, ret[_92], "所有路", "关闭", NULL); 		
	ret[_80] = Add_Page_Exec(NULL, &def, ret[_93], "第一路", "开启", NULL); 		
	ret[_81] = Add_Page_Exec(NULL, &def, ret[_93], "第一路", "关闭", NULL); 		
	ret[_83] = Add_Page_Exec(NULL, &def, ret[_94], "第二路", "开启", NULL); 		
	ret[_84] = Add_Page_Exec(NULL, &def, ret[_94], "第二路", "关闭", NULL); 		
	ret[_74] = Add_Page_Exec(NULL, &def, ret[_95], "第三路", "开启", NULL); 		
	ret[_75] = Add_Page_Exec(NULL, &def, ret[_95], "第三路", "关闭", NULL); 		
	ret[_74] = Add_Page_Exec(NULL, &def, ret[_96], "第四路", "开启", NULL); 		
	ret[_75] = Add_Page_Exec(NULL, &def, ret[_96], "第四路", "关闭", NULL); 		
	// 八回路	
	ret[_68] = Add_Page_Exec(NULL, &def, ret[_97], "所有路", "开启", _8_Power_On);		
	ret[_69] = Add_Page_Exec(NULL, &def, ret[_97], "所有路", "关闭", NULL);		
	ret[_71] = Add_Page_Exec(NULL, &def, ret[_98], "第一路", "开启", NULL);		
	ret[_72] = Add_Page_Exec(NULL, &def, ret[_98], "第一路", "关闭", NULL);		
	ret[_74] = Add_Page_Exec(NULL, &def, ret[_99], "第二路", "开启", NULL);		
	ret[_75] = Add_Page_Exec(NULL, &def, ret[_99], "第二路", "关闭", NULL);		
	ret[_74] = Add_Page_Exec(NULL, &def, ret[_100], "第三路", "开启", NULL);	
	ret[_75] = Add_Page_Exec(NULL, &def, ret[_100], "第三路", "关闭", NULL);	
	ret[_74] = Add_Page_Exec(NULL, &def, ret[_101], "第四路", "开启", NULL);	
	ret[_75] = Add_Page_Exec(NULL, &def, ret[_101], "第四路", "关闭", NULL);	
	ret[_74] = Add_Page_Exec(NULL, &def, ret[_102], "第五路", "开启", NULL);	
	ret[_75] = Add_Page_Exec(NULL, &def, ret[_102], "第五路", "关闭", NULL);	
	ret[_74] = Add_Page_Exec(NULL, &def, ret[_103], "第六路", "开启", NULL);	
	ret[_75] = Add_Page_Exec(NULL, &def, ret[_103], "第六路", "关闭", NULL);	
	ret[_74] = Add_Page_Exec(NULL, &def, ret[_104], "第七路", "开启", NULL);	
	ret[_75] = Add_Page_Exec(NULL, &def, ret[_104], "第七路", "关闭", NULL);	
	ret[_74] = Add_Page_Exec(NULL, &def, ret[_105], "第八路", "开启", NULL);	
	ret[_75] = Add_Page_Exec(NULL, &def, ret[_105], "第八路", "关闭", NULL);	
	ret[_77] = Add_Page_Exec(NULL, &def, ret[_106], "所有路", "开启", NULL);	
	ret[_78] = Add_Page_Exec(NULL, &def, ret[_106], "所有路", "关闭", NULL);	
	ret[_80] = Add_Page_Exec(NULL, &def, ret[_107], "第一路", "开启", NULL);	
	ret[_81] = Add_Page_Exec(NULL, &def, ret[_107], "第一路", "关闭", NULL);	
	ret[_83] = Add_Page_Exec(NULL, &def, ret[_108], "第二路", "开启", NULL);	
	ret[_84] = Add_Page_Exec(NULL, &def, ret[_108], "第二路", "关闭", NULL);	
	ret[_74] = Add_Page_Exec(NULL, &def, ret[_109], "第三路", "开启", NULL);	
	ret[_75] = Add_Page_Exec(NULL, &def, ret[_109], "第三路", "关闭", NULL);	
	ret[_74] = Add_Page_Exec(NULL, &def, ret[_110], "第四路", "开启", NULL);	
	ret[_75] = Add_Page_Exec(NULL, &def, ret[_110], "第四路", "关闭", NULL);	
	ret[_74] = Add_Page_Exec(NULL, &def, ret[_111], "第五路", "开启", NULL);	
	ret[_75] = Add_Page_Exec(NULL, &def, ret[_111], "第五路", "关闭", NULL);	
	ret[_74] = Add_Page_Exec(NULL, &def, ret[_112], "第六路", "开启", NULL);	
	ret[_75] = Add_Page_Exec(NULL, &def, ret[_112], "第六路", "关闭", NULL);	
	ret[_74] = Add_Page_Exec(NULL, &def, ret[_113], "第七路", "开启", NULL);	
	ret[_75] = Add_Page_Exec(NULL, &def, ret[_113], "第七路", "关闭", NULL);	
	ret[_74] = Add_Page_Exec(NULL, &def, ret[_114], "第八路", "开启", NULL);	
	ret[_75] = Add_Page_Exec(NULL, &def, ret[_114], "第八路", "关闭", NULL);	
	
	// 十二回路
	ret[_68] = Add_Page_Exec(NULL, &def, ret[_115], "所有路", "开启", _8_Power_On);		
	ret[_69] = Add_Page_Exec(NULL, &def, ret[_115], "所有路", "关闭", NULL);		
	ret[_71] = Add_Page_Exec(NULL, &def, ret[_116], "第一路", "开启", NULL);		
	ret[_72] = Add_Page_Exec(NULL, &def, ret[_116], "第一路", "关闭", NULL);		
	ret[_74] = Add_Page_Exec(NULL, &def, ret[_117], "第二路", "开启", NULL);		
	ret[_75] = Add_Page_Exec(NULL, &def, ret[_117], "第二路", "关闭", NULL);		
	ret[_74] = Add_Page_Exec(NULL, &def, ret[_118], "第三路", "开启", NULL);	
	ret[_75] = Add_Page_Exec(NULL, &def, ret[_118], "第三路", "关闭", NULL);	
	ret[_74] = Add_Page_Exec(NULL, &def, ret[_119], "第四路", "开启", NULL);	
	ret[_75] = Add_Page_Exec(NULL, &def, ret[_119], "第四路", "关闭", NULL);	
	ret[_74] = Add_Page_Exec(NULL, &def, ret[_120], "第五路", "开启", NULL);	
	ret[_75] = Add_Page_Exec(NULL, &def, ret[_120], "第五路", "关闭", NULL);	
	ret[_74] = Add_Page_Exec(NULL, &def, ret[_121], "第六路", "开启", NULL);	
	ret[_75] = Add_Page_Exec(NULL, &def, ret[_121], "第六路", "关闭", NULL);	
	ret[_74] = Add_Page_Exec(NULL, &def, ret[_122], "第七路", "开启", NULL);	
	ret[_75] = Add_Page_Exec(NULL, &def, ret[_122], "第七路", "关闭", NULL);	
	ret[_74] = Add_Page_Exec(NULL, &def, ret[_123], "第八路", "开启", NULL);	
	ret[_75] = Add_Page_Exec(NULL, &def, ret[_123], "第八路", "关闭", NULL);	
	ret[_74] = Add_Page_Exec(NULL, &def, ret[_124], "第九路", "开启", NULL);	
	ret[_75] = Add_Page_Exec(NULL, &def, ret[_124], "第九路", "关闭", NULL);	
	ret[_74] = Add_Page_Exec(NULL, &def, ret[_125], "第十路", "开启", NULL);	
	ret[_75] = Add_Page_Exec(NULL, &def, ret[_125], "第十路", "关闭", NULL);	
	ret[_74] = Add_Page_Exec(NULL, &def, ret[_126], "第十一路", "开启", NULL);	
	ret[_75] = Add_Page_Exec(NULL, &def, ret[_126], "第十一路", "关闭", NULL);				
	ret[_74] = Add_Page_Exec(NULL, &def, ret[_127], "第十二路", "开启", NULL);	
	ret[_75] = Add_Page_Exec(NULL, &def, ret[_127], "第十二路", "关闭", NULL);	
	ret[_77] = Add_Page_Exec(NULL, &def, ret[_128], "所有路", "开启", NULL);	
	ret[_78] = Add_Page_Exec(NULL, &def, ret[_128], "所有路", "关闭", NULL);	
	ret[_80] = Add_Page_Exec(NULL, &def, ret[_129], "第一路", "开启", NULL);	
	ret[_81] = Add_Page_Exec(NULL, &def, ret[_129], "第一路", "关闭", NULL);	
	ret[_83] = Add_Page_Exec(NULL, &def, ret[_130], "第二路", "开启", NULL);	
	ret[_84] = Add_Page_Exec(NULL, &def, ret[_130], "第二路", "关闭", NULL);	
	ret[_74] = Add_Page_Exec(NULL, &def, ret[_131], "第三路", "开启", NULL);	
	ret[_75] = Add_Page_Exec(NULL, &def, ret[_131], "第三路", "关闭", NULL);	
	ret[_74] = Add_Page_Exec(NULL, &def, ret[_132], "第四路", "开启", NULL);	
	ret[_75] = Add_Page_Exec(NULL, &def, ret[_132], "第四路", "关闭", NULL);	
	ret[_74] = Add_Page_Exec(NULL, &def, ret[_133], "第五路", "开启", NULL);	
	ret[_75] = Add_Page_Exec(NULL, &def, ret[_133], "第五路", "关闭", NULL);	
	ret[_74] = Add_Page_Exec(NULL, &def, ret[_134], "第六路", "开启", NULL);	
	ret[_75] = Add_Page_Exec(NULL, &def, ret[_134], "第六路", "关闭", NULL);	
	ret[_74] = Add_Page_Exec(NULL, &def, ret[_135], "第七路", "开启", NULL);	
	ret[_75] = Add_Page_Exec(NULL, &def, ret[_135], "第七路", "关闭", NULL);	
	ret[_74] = Add_Page_Exec(NULL, &def, ret[_136], "第八路", "开启", NULL);	
	ret[_75] = Add_Page_Exec(NULL, &def, ret[_136], "第八路", "关闭", NULL);	
	ret[_74] = Add_Page_Exec(NULL, &def, ret[_137], "第九路", "开启", NULL);	
	ret[_75] = Add_Page_Exec(NULL, &def, ret[_137], "第九路", "关闭", NULL);	
	ret[_74] = Add_Page_Exec(NULL, &def, ret[_138], "第十路", "开启", NULL);	
	ret[_75] = Add_Page_Exec(NULL, &def, ret[_138], "第十路", "关闭", NULL);	
	ret[_74] = Add_Page_Exec(NULL, &def, ret[_139], "第十一路", "开启", NULL);	
	ret[_75] = Add_Page_Exec(NULL, &def, ret[_139], "第十一路", "关闭", NULL);				
	ret[_74] = Add_Page_Exec(NULL, &def, ret[_140], "第十二路", "开启", NULL);	
	ret[_75] = Add_Page_Exec(NULL, &def, ret[_140], "第十二路", "关闭", NULL);		

	// 显示首页
	Home_Page_Show(headnode);

	#if 0
	int add = 114;
	int time = 0;
	while (time < 26) {
		printf("_%d\n",++add);
		printf("_%d\n",add);
		time++;
	}
	#endif
}

int main() {
	menu_init();
	
	while (1) {
		Menu_Handle();
	}
}


